#ifndef LOTTERY_DRAW_H
#define LOTTERY_DRAW_H

#include <QtWidgets/QWidget>

class lottery_draw : public QWidget
{
    Q_OBJECT
public:
    void start_up(char* app_name);
    static QPointer<lottery_draw> get_instance();
    lottery_draw(const lottery_draw&) = delete;
    lottery_draw& operator=(const lottery_draw&) = delete;

private:
    lottery_draw() = default;
    static QPointer<lottery_draw> _s_instance;
    QStackedWidget* page_stack_;
};

#endif // LOTTERY_DRAW_H
